package ${package}.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import ${package}.dao.${module}Dao;
import ${package}.service.${module};
import ${package}.service.${module}Query;
import ${package}.service.${module}Service;

@Service
public class ${module}ServiceImpl implements ${module}Service {
	
	@Autowired
	private ${module}Dao dao;
	
	@Override
	public String add${module}(${module} obj){
		//TODO 完善代码实现
		dao.add${module}(obj);
		return null;
	}
	
	@Override
	public void delete${module}(String[] ids){
		//TODO 完善代码实现
		dao.delete${module}(ids);
	}
	
	@Override
	public void update${module}(${module} obj){
		//TODO 完善代码实现
		dao.update${module}(obj);
	}
	
	@Override
	public ${module} get${module}(String id){
		//TODO 完善代码实现
		return dao.get${module}(id);
	}
	
	@Override
	public List<${module}> list${module}(${module}Query query){
		//TODO 完善代码实现
		return dao.list${module}(query);
	}
}